package spitfire.ksim.data;

import java.util.List;

/**
 * <p>Snapshot of the raw data of a single sensor.</p>
 * <p>The snapshot contains a list of time stamp and a list of data value.
 * These two lists are of the same length and elements of them are
 * one-to-one matched.</p>
 * 
 * @author Adam
 *
 */
public class KSensorSnapshot {
	private List<Long> timeStampList;
	private List<Double> dataList;
	
	public KSensorSnapshot(List<Long> timeStampList, List<Double> dataList) {
		this.timeStampList = timeStampList;
		this.dataList = dataList;
	}
	
	public List<Long> getTimeStampList() {
		return timeStampList;
	}
	
	public List<Double> getDataList() {
		return dataList;
	}
	
	@Override
	public String toString() {
		return "size(" + dataList.size() + ")";
	}
}
